/**
 * 
 */
package design_pattern.visitor.pc;

/**
 * @author linzq
 *
 */
public class Case extends Equipment {

  /*
   * (non-Javadoc)
   * 
   * @see visitor.pc.Equipment#accept(visitor.pc.Visitor)
   */
  @Override
  public void accept(Visitor v) {
    System.out.println("Case has been visited.");
    v.visitCase(this);
  }

  @Override
  public float price() {
    return 150.00f;
  }

}
